home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 March / CMCD0305.ISO / Software / Freeware / Programare / nvu / nvu-0.80-win32-installer-full.exe / {app} / chrome / help.jar / skin / help / help.css < prev    next >
Cascading Style Sheet File  |  2005-01-28  |  5KB  |  139 lines

  1. /*
  2. # ***** BEGIN LICENSE BLOCK *****
  3. # Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4. #
  5. # The contents of this file are subject to the Mozilla Public License Version
  6. # 1.1 (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. # http://www.mozilla.org/MPL/
  9. #
  10. # Software distributed under the License is distributed on an "AS IS" basis,
  11. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12. # for the specific language governing rights and limitations under the
  13. # License.
  14. #
  15. # The Original Code is Mozilla Help CSS
  16. #
  17. # The Initial Developer of the Original Code is
  18. # R.J. Keller
  19. # Portions created by the Initial Developer are Copyright (C) 2003
  20. # the Initial Developer. All Rights Reserved.
  21. #
  22. # Contributor(s):
  23. # Alternatively, the contents of this file may be used under the terms of
  24. # either the GNU General Public License Version 2 or later (the "GPL"), or
  25. # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26. # in which case the provisions of the GPL or the LGPL are applicable instead
  27. # of those above. If you wish to allow use of your version of this file only
  28. # under the terms of either the GPL or the LGPL, and not to allow others to
  29. # use your version of this file under the terms of the MPL, indicate your
  30. # decision by deleting the provisions above and replace them with the notice
  31. # and other provisions required by the GPL or the LGPL. If you do not delete
  32. # the provisions above, a recipient may use your version of this file under
  33. # the terms of any one of the MPL, the GPL or the LGPL.
  34. #
  35. # ***** END LICENSE BLOCK *****
  36. */
  37. @import url("chrome://global/skin/");
  38. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  39.  
  40. .toolbarbutton-1 {
  41.     -moz-box-orient: vertical;
  42.     min-width: 0px;
  43.     list-style-image: url("chrome://help/skin/Toolbar.png");
  44. }
  45.  
  46. .browserButton {
  47.   -moz-box-orient: horizontal;
  48.   min-width: 0px;
  49.   list-style-image: url("chrome://help/skin/ffToolbar.png");
  50. }
  51.  
  52. .toolbarbutton-1, .browserButton, .toolbarbutton-menubutton-button {
  53.   padding: 5px;
  54. }
  55.  
  56. .toolbarbutton-1 .toolbarbutton-icon,
  57. .browserButton .toolbarbutton-icon {
  58.   margin-right: 0px;
  59. }
  60.  
  61. #helpToolbar[mode="full"] .toolbarbutton-1,
  62. #helpToolbar[mode="full"] .browserButton,
  63. #helpToolbar[mode="full"] .toolbarbutton-menubutton-button {
  64.   min-width: 57px;
  65. }
  66.  
  67. toolbarbutton:not([disabled="true"]):hover,
  68. menubutton:not([disabled="true"]):hover,
  69. toolbarbutton:not([disabled="true"]):hover:active,
  70. menubutton:not([disabled="true"]):hover:active {
  71.     color: ButtonText !important;
  72. }
  73.  
  74. /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
  75. #helpsidebar-box { width: 200px; }
  76.  
  77. #help-back-button { -moz-image-region: rect(0px 24px 24px 0px); }
  78. #help-back-button[buttonover="true"] { -moz-image-region: rect(24px 24px 48px 0px); }
  79. #help-back-button[disabled="true"] { -moz-image-region: rect(48px 24px 72px 0px); }
  80.  
  81. #help-forward-button { -moz-image-region: rect(0px 48px 24px 24px); }
  82. #help-forward-button[buttonover="true"] { -moz-image-region: rect(24px 48px 48px 24px); }
  83. #help-forward-button[disabled="true"] { -moz-image-region: rect(48px 48px 72px 24px); }
  84.  
  85. #help-find-button { -moz-image-region: rect(0px 192px 24px 168px); }
  86. #help-find-button:hover { -moz-image-region: rect(24px 192px 48px 168px); }
  87.  
  88. #help-toolbar-customization { -moz-image-region: rect(0px 216px 24px 192px); }
  89. #help-toolbar-customization:hover { -moz-image-region: rect(24px 216px 48px 192px); }
  90.  
  91. #help-home-button { -moz-image-region: rect(0px 120px 24px 96px); }
  92. #help-home-button:hover { -moz-image-region: rect(24px 120px 48px 96px); }
  93.  
  94. #help-print-button { -moz-image-region: rect(0px 216px 24px 192px); }
  95. #help-print-button:hover { -moz-image-region: rect(24px 216px 48px 192px); }
  96.  
  97. #help-zoom-large-button { -moz-image-region: rect(0px 24px 24px 0px); }
  98. #help-zoom-large-button:hover { -moz-image-region: rect(24px 24px 48px 0px); }
  99.  
  100. #help-zoom-small-button { -moz-image-region: rect(0px 48px 24px 24px); }
  101. #help-zoom-small-button:hover { -moz-image-region: rect(24px 48px 48px 24px); }
  102.  
  103. #help-sidebar-button { -moz-image-region: rect(0px 72px 24px 48px); }
  104. #help-sidebar-button:hover { -moz-image-region: rect(24px 72px 48px 48px); }
  105.  
  106. /** Toolbar Customization stuff **/
  107. toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
  108. toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text, 
  109. toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
  110. toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
  111.     display: -moz-box;
  112. }
  113.  
  114. toolbar[mode="icons"] .toolbarbutton-text,
  115. toolbar[mode="text"] .toolbarbutton-icon {
  116.     display: none;
  117. }
  118.  
  119. /* Small icons are not supported. */
  120. #smallicons { display: none; }
  121.  
  122. /*** THROBBER ***/
  123. #help-throbber {
  124.   -moz-appearance: none;
  125.   -moz-user-focus: ignore;
  126.   margin: 0 !important;
  127.   border: none !important;
  128.   padding: 0 !important;
  129.   min-width: 0;
  130.   background-color: transparent;
  131.   list-style-image: url("chrome://editor/skin/icons/throbber-single.gif");
  132. }
  133.  
  134. #help-throbber[busy="true"] {
  135.   list-style-image: url("chrome://editor/skin/icons/throbber-single.gif");
  136.   -moz-opacity: 0.5;
  137. }
  138.